summaryrefslogtreecommitdiffstats
path: root/src/org/uic/barcode/ticket/api/impl/SimpleValidityRange.java
blob: e9a408276dfde3738e10f401af2cb2d85bda4836 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package org.uic.barcode.ticket.api.impl;

import java.util.Date;

import org.uic.barcode.ticket.api.spec.IValidityRange;

// TODO: Auto-generated Javadoc
/**
 * The Class SimpleValidityRange.
 */
public class SimpleValidityRange implements IValidityRange {
	
	/** The from date. */
	private Date fromDate;
	
	/** The until date. */
	private Date untilDate;
	


	/* (nicht-Javadoc)
	 * @see org.uic.ticket.api.spec.IValidityRange#getFromDate()
	 */
	@Override
	public Date getFromDate() {
		return fromDate;
	}

	/* (nicht-Javadoc)
	 * @see org.uic.ticket.api.spec.IValidityRange#getUntilDate()
	 */
	@Override
	public Date getUntilDate() {
		return untilDate;
	}

	/* (nicht-Javadoc)
	 * @see org.uic.ticket.api.spec.IValidityRange#setFromDate(java.util.Date)
	 */
	@Override
	public void setFromDate(Date date) {
		fromDate = date;
	}

	/* (nicht-Javadoc)
	 * @see org.uic.ticket.api.spec.IValidityRange#setUntilDate(java.util.Date)
	 */
	@Override
	public void setUntilDate(Date date) {
		untilDate = date;
	}
	
	/** The valid from utc coffset. */
	protected Long validFromUTCoffset;
	
	/** The valid until utc coffset. */
	protected Long validUntilUTCoffset;
	

	/* (nicht-Javadoc)
	 * @see org.uic.ticket.api.spec.IValidityRange#getValidFromUTCoffset()
	 */
	public Long getValidFromUTCoffset() {
		return validFromUTCoffset;
	}

	/* (nicht-Javadoc)
	 * @see org.uic.ticket.api.spec.IValidityRange#setValidFromUTCoffset(java.lang.Long)
	 */
	public void setValidFromUTCoffset(Long validFromUTCoffset) {
		this.validFromUTCoffset = validFromUTCoffset;
	}

	/* (nicht-Javadoc)
	 * @see org.uic.ticket.api.spec.IValidityRange#getValidUntilUTCoffset()
	 */
	public Long getValidUntilUTCoffset() {
		return validUntilUTCoffset;
	}

	/* (nicht-Javadoc)
	 * @see org.uic.ticket.api.spec.IValidityRange#setValidUntilUTCoffset(java.lang.Long)
	 */
	public void setValidUntilUTCoffset(Long validUntilUTCoffset) {
		this.validUntilUTCoffset = validUntilUTCoffset;
	}
	
	

}